package com.xgp.company.创建型模式.第三种_建造者模式.常规用法_套餐用法;

public class Test {
    public static void main(String[] args) {
        //指挥
        Director director = new Director();
        //指挥具体的工人完成创建
        Product build = director.build(new Worker());
        System.out.println(build.toString());
    }
}
